package com.xcity.pomelo.request;

import com.xcity.pomelo.PomeloRoute;

import naga.x.net.impl.pomelo.PomeloMessage;
import naga.x.net.impl.pomelo.PomeloPacket;

@PomeloMessage(route = PomeloRoute.WORLD_EVENT_USE_ITEM)
public class WorldEventUseItemRequest extends PomeloPacket {

	private byte type; // 1:帮忙; 2:使坏
	private long pid; // 目标玩家id
	
	public static final byte HELP = 1;
	public static final byte MAKE_TROUBE = 2;
	
	public WorldEventUseItemRequest() {}

	public byte getType() {
		return type;
	}

	public void setType(byte type) {
		this.type = type;
	}

	public long getPid() {
		return pid;
	}

	public void setPid(long pid) {
		this.pid = pid;
	}
	
}
